package item;

public class ShoppingCartItem extends Item {

	private int quantity;
	
	public ShoppingCartItem(int quantity, String upc, String title, Type type, Category category, String company, int year, float sellPrice) 
	{
		super(upc, title, type, category, company, year, sellPrice);
		this.quantity = quantity;
	}
	
	public ShoppingCartItem(int quantity, Item item)
	{
		super(item);
		this.quantity = quantity;		
	}
	
	public int getQuantity()
	{
		return this.quantity;
	}
	
	public void setQuantity(int newQuantity)
	{
		this.quantity = newQuantity;
	}

}
